<div (window:resize)="onResize($event)" class="mygauge-container" #panel>
    <div #gaugetext class="mygauge-value"></div>
    <canvas #gauge id="myGauge" width="180" height="50" class="mygauge-canvas"></canvas>
</div>